package com.hrbxlh.support.attendance.po;

import com.hrbxlh.support.attendance.domain.AttenceConfig;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author lx
 */
@Data
public class AttendanceConfigPO {

    /**
     * 班级Id
     */
    @NotNull(message = "班级Id不能为空")
    private Integer classId;

    /**
     * 课程Id
     */
    @NotNull(message = "课程Id不能为空")
    private Integer courseId;

    /**
     * 考勤周期开始时间
     */
    private String startTime;

    /**
     * 考勤周期结束时间
     */
    private String endTime;

    /**
     * 开关
     */
    private boolean switchOn;

    /**
     * 详细配置
     */
    private List<AttenceConfig> info;

}
